package xzit.gcxy.xxhzx.zhh.dao;

import java.util.List;

import xzit.gcxy.xxhzx.zhh.entity.APPNavigatorVO;
import xzit.gcxy.xxhzx.zhh.entity.ManagedAccountVO;
import xzit.gcxy.xxhzx.zhh.entity.TeacherSWTotalVO;

public interface SystemDao extends BaseDao {
	
	public ManagedAccountVO getUserByNameAndPassword(ManagedAccountVO user);
	
	/**
	 * 根据实体名字获取唯一记录
	 * 
	 * @param propertyName
	 * @param value
	 * @return
	 */
	public <T> T findUniqueByProperty(Class<T> entityClass,
			String propertyName, Object value);

	public APPNavigatorVO getAPPRootByNameAndPassword();
	
	public List<TeacherSWTotalVO> getTotalScore4Teacher();
}
